import request from '@/utils/request'

export function syncAuditWhitelist(params) {
  return request({
    url: 'api/syncAuditWhiteList/page',
    method: 'get',
    params
  })
}

export function addSyncAuditWhitelist(data) {
  return request({
    url: 'api/syncAuditWhiteList',
    method: 'post',
    data
  })
}

export function editSyncAuditWhitelist(data) {
  return request({
    url: 'api/syncAuditWhiteList',
    method: 'put',
    data
  })
}

export function delSyncAuditWhitelist(data) {
    return request({
      url: 'api/syncAuditWhiteList/'+data,
      method: 'delete',
    })
}

export default { syncAuditWhitelist, addSyncAuditWhitelist, editSyncAuditWhitelist,delSyncAuditWhitelist}
